import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/global.css'
import './assets/ali-icon/iconfont.css'
import ElementUI from 'element-ui'
import './plugins/element.js'
import echarts from 'echarts'
import cookies from 'js-cookie'
/* 导入axios包 */
import axios from 'axios'
import moment from 'moment'

/* 导入富文本编辑器 */
import VueQuillEditor from 'vue-quill-editor'

/* 导入富文本编辑器对应的样式 */
import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme
Vue.use(VueQuillEditor)

Vue.prototype.$echarts = echarts
Vue.prototype.$cookies = cookies
Vue.prototype.$http = axios
axios.defaults.baseURL = 'http://localhost:8093/'

Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  moment,
  render: h => h(App)
}).$mount('#app')
